/**
 * 文章详情页面
 * @author xiaoqiang <465633678@qq.com>
 * @created 2019/09/11 18:13:37
 */
import '@/styles/index1.less'
const $ = (window as any).$
const Swiper = (window as any).Swiper
$(function() {
	
	var swiper1 = new Swiper('.banner',{
		autoplay:{delay: 2000,},
	});
	var swiper2 = new Swiper('.index1Slide',{
	autoplay:{delay: 2000,},
		slidesPerView : 3,
	centeredSlides : true,
	});
	
	var swiper3 = new Swiper('.l-partner__content',{
	autoplay:{delay: 2000,},
	slidesPerView : 2, 
	centeredSlides : true,
	});
	
	$(".nav_a").on("click",function(this: any){
		$(this).toggleClass('on');
	        if($(this).hasClass('on')){
	            $('.headerNav').stop().slideDown();
	        }else{
	            $('.headerNav').stop().slideUp();
	        }
	})
	
})